package cn.com.kgo.gateway.controller;

import cn.com.kgo.common.api.test.ActivitModuleTestService;
import cn.com.kgo.common.api.test.LogmanageModuleTestService;
import cn.com.kgo.common.api.test.UsermanageModuleTestService;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author keepgoon
 * @Description: TODO
 * @date 2019/4/2913:32
 */
@RestController
public class TestController {
    @Reference
    private ActivitModuleTestService activitModuleTestService;
    @Reference
    private LogmanageModuleTestService logmanageModuleTestService;
    @Reference
    private UsermanageModuleTestService usermanageModuleTestService;
    @RequestMapping("/")
    public String testController(){
        return "activiti ： "+activitModuleTestService.isConnenct() + "     log  : "+ logmanageModuleTestService.isConnenct()+" userManage :"+usermanageModuleTestService.isConnenct();
    }
}
